SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '002059c187243e0b986bee73259f7e72c899c40244dcccc1b0d93b744df4d7cb' 
  AND token = 'p3ld+M8P1hNbWaCMH+fZEnHhLeXIdMSYQebxljiQDCY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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