SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1da6e4a32707035c95bb79f2e508bb09c07be0787992782038bf01dd5f87ab60' 
  AND token = 'qLp+BwMC14lmlW/hqEn9ab/42zf7YgOAXao6On7dabk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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