SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '316234b81a81a09d0bb84ae61e608e0ff6231731937f709b9e98a98387e0ff38' 
  AND token = 'qZ+iMxsFCAZbyYGhCNjxAyIZALuau8KRxX921yHH88k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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