SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd5aee25ba5f2e22504efb0cdd6166fc66242e94b25c9c08825661838e692999c' 
  AND token = 'RXbMvkaG4irmt4fQgd+zt44di300gSvrHFgILx7SdJI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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