SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c1e5f8577690cdfb2664d3fbd577ec0309452077f928def061397c6457258d14' 
  AND token = '8CuiNE7nrrNK/TGLz3u4P3tRgofcp9FJ+9bnKwUuzAk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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