SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9a7f6e96539c635ada5d66f3d0bdb2f3454ef7c9690f451d7a79cf5ca8a08afb' 
  AND token = 'V15eee5bLSO5bwH6awAGCABZ3MDIP7bQMY+wo3TZBZs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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