SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ccb17dcfdf0785e7cfbd0d900e5ec784506449c58e040e4ed09860ed8b018b7b' 
  AND token = '5axYL8pYTMPr1Rd4s0Rc5k6vErCTW13uHBkp+xP8hTg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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