SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51a0f42c770db3abbd500a8dd4589ebfdfb0e355ed38a33204d944f46c31c186' 
  AND token = 'IpdALblrmysJ3xxqmXN2qVQSJ7zW4hroUkxq9W3csaE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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