SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51c66c5686ed15ef5fa89b86309bc051da653f68cf1dd46de7be215d8e1d580f' 
  AND token = 'obqWNHRdlPHO5OUJ6Ai4yogfM5S7MnsMMTu/SZlqYbQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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