SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '623a53e8c5741e05dd272a73a0b00456f943cbb6260fae053fc0427618a0abb1' 
  AND token = '6PJSNW/BXW4NG61NkABW/PtYPgNykU51zK1SmGFzu64=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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