SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f90884770320322f8617daaa9e0de99aafb62aa4a4986b00a1478c41e3512160' 
  AND token = '07BBdDUGL+ljrFPsz41Iocd6gbJct/ismEIqg/roFsg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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