SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8baf20396b010ab8916d4076bdad47f7c14c11acda5d4525da00467ab1f003fa' 
  AND token = 'Ff6bZjO/fth/XFHmt7kyo/C9Tb8u4BzXcjqZJTkIxvQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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