SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dc8b02c3691a6deb87446d93b1144cd061df5d5e0894bdac93fa9780ef264dd0' 
  AND token = 'byA8b+GpuV8LQGXHQ/flv3nJ+cN7YHZpWrWvLVjN0ns=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}