SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31f5b466602b95205812d921cf9f13336a2010da6faba2a841d14821bb9d7fcf' 
  AND token = 'BYI1XcveOR23o6FGUsdte35u3ELmDi8iXVNan6jB91w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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