SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bdba8cd910b0912d067fa413869e8570b8a0888bbc465e4b1fd2b20246a49cf3' 
  AND token = 'P3HHWSpUSI5N7J0Cw6zHtZ+yIhOOUN18lQARLuKBsog=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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