SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd3071b0b9dd4d69ac39da930129c48431917be26beac808b01e8f3db60d1c86' 
  AND token = 'bYTSMusFcV/Hb3EwOpFYCVQo/ZpaIN1EPYjPCQG9+1Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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